Conversation
mu-plugins/osi-api/osi-api.php
Outdated
| 'permission_callback' => '__return_true', | ||
| 'args' => array( | ||
| 'name' => array( | ||
| 'license_name' => array( |
There was a problem hiding this comment.
@gin0115 would it be possible to use id here? If not, license_name is fine.
There was a problem hiding this comment.
we can do, but this is a hidden url param that we dont call. Its only really used on the internal side of things
There was a problem hiding this comment.
you will still call opensource.org/api/licenses?name=mit
There was a problem hiding this comment.
Thanks for clarifying. Would it be possible to use the following?
There was a problem hiding this comment.
of course, let me make that change
There was a problem hiding this comment.
this is now up on staging
https://open-source-initiative-development.mystagingwebsite.com/api/licenses?id=mit
just adding to this pr
|
@nickvidal |
|
Thank you so much, @gin0115 |
|
@gin0115, my apologies, I think I misunderstood how the So you were right all along, |
|
Hey No problem, I will revert it back either tonight or in the morning for you |
|
Its back up as |
|
Thank you again @gin0115 . Have a wonderful weekend! |
|
No problem @nickvidal, enjoy yours too :) |

Changes proposed in this Pull Request
Testing instructions
Mentions #